package com.bootdo.system.controller;

import com.bootdo.common.utils.ExcelUtils;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @Description TODO
 * @Author GuoShao
 * @Date 2018/12/9 15:20
 * @Version 1.0
 **/

@Controller
public class TestController {

    @RequestMapping("/test")
    public void aa(HttpServletRequest request, HttpServletResponse response){
        ExcelUtils.export(AdvertisingIndentBo.getList(),response,AdvertisingIndentBo.class);
    }


}
